def isnum():
    try:
        s=eval(input("请随机输入一个字符串：\n"))
        if type(s)==int or type(s) == float or type(s)  == complex:
            print('True')
        else:
            print('False')
    except:
        print('False')

isnum()